Optimal. Leaf size=199 \[ -\frac {6 e^3 F^{c (a+b x)} \cos (d+e x)}{9 e^4+10 b^2 c^2 e^2 \log ^2(F)+b^4 c^4 \log ^4(F)}+\frac {6 b c e^2 F^{c (a+b x)} \log (F) \sin (d+e x)}{9 e^4+10 b^2 c^2 e^2 \log ^2(F)+b^4 c^4 \log ^4(F)}-\frac {3 e F^{c (a+b x)} \cos (d+e x) \sin ^2(d+e x)}{9 e^2+b^2 c^2 \log ^2(F)}+\frac {b c F^{c (a+b x)} \log (F) \sin ^3(d+e x)}{9 e^2+b^2 c^2 \log ^2(F)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 199, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {4519, 4517}
\begin {gather*} \frac {b c \log (F) \sin ^3(d+e x) F^{c (a+b x)}}{b^2 c^2 \log ^2(F)+9 e^2}-\frac {3 e \sin ^2(d+e x) \cos (d+e x) F^{c (a+b x)}}{b^2 c^2 \log ^2(F)+9 e^2}+\frac {6 b c e^2 \log (F) \sin (d+e x) F^{c (a+b x)}}{b^4 c^4 \log ^4(F)+10 b^2 c^2 e^2 \log ^2(F)+9 e^4}-\frac {6 e^3 \cos (d+e x) F^{c (a+b x)}}{b^4 c^4 \log ^4(F)+10 b^2 c^2 e^2 \log ^2(F)+9 e^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 4517
Rule 4519
Rubi steps
\begin {align*} \int F^{c (a+b x)} \sin ^3(d+e x) \, dx &=-\frac {3 e F^{c (a+b x)} \cos (d+e x) \sin ^2(d+e x)}{9 e^2+b^2 c^2 \log ^2(F)}+\frac {b c F^{c (a+b x)} \log (F) \sin ^3(d+e x)}{9 e^2+b^2 c^2 \log ^2(F)}+\frac {\left (6 e^2\right ) \int F^{c (a+b x)} \sin (d+e x) \, dx}{9 e^2+b^2 c^2 \log ^2(F)}\\ &=-\frac {6 e^3 F^{c (a+b x)} \cos (d+e x)}{9 e^4+10 b^2 c^2 e^2 \log ^2(F)+b^4 c^4 \log ^4(F)}+\frac {6 b c e^2 F^{c (a+b x)} \log (F) \sin (d+e x)}{9 e^4+10 b^2 c^2 e^2 \log ^2(F)+b^4 c^4 \log ^4(F)}-\frac {3 e F^{c (a+b x)} \cos (d+e x) \sin ^2(d+e x)}{9 e^2+b^2 c^2 \log ^2(F)}+\frac {b c F^{c (a+b x)} \log (F) \sin ^3(d+e x)}{9 e^2+b^2 c^2 \log ^2(F)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.70, size = 154, normalized size = 0.77 \begin {gather*} \frac {F^{c (a+b x)} \left (-3 e \cos (d+e x) \left (9 e^2+b^2 c^2 \log ^2(F)\right )+3 \cos (3 (d+e x)) \left (e^3+b^2 c^2 e \log ^2(F)\right )-2 b c \log (F) \left (-13 e^2-b^2 c^2 \log ^2(F)+\cos (2 (d+e x)) \left (e^2+b^2 c^2 \log ^2(F)\right )\right ) \sin (d+e x)\right )}{4 \left (9 e^4+10 b^2 c^2 e^2 \log ^2(F)+b^4 c^4 \log ^4(F)\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.64, size = 377, normalized size = 1.89
method | result | size |
risch | \(-\frac {3 e \,F^{c \left (b x +a \right )} \cos \left (e x +d \right )}{4 \left (e^{2}+b^{2} c^{2} \ln \left (F \right )^{2}\right )}+\frac {3 b c \,F^{c \left (b x +a \right )} \ln \left (F \right ) \sin \left (e x +d \right )}{4 \left (e^{2}+b^{2} c^{2} \ln \left (F \right )^{2}\right )}+\frac {3 e \,F^{c \left (b x +a \right )} \cos \left (3 e x +3 d \right )}{4 \left (9 e^{2}+b^{2} c^{2} \ln \left (F \right )^{2}\right )}-\frac {c b \ln \left (F \right ) F^{c \left (b x +a \right )} \sin \left (3 e x +3 d \right )}{4 \left (9 e^{2}+b^{2} c^{2} \ln \left (F \right )^{2}\right )}\) | \(158\) |
default | \(-\frac {F^{a c} \left (\frac {\frac {4 e \,{\mathrm e}^{b c x \ln \left (F \right )}}{e^{2}+b^{2} c^{2} \ln \left (F \right )^{2}}-\frac {4 e \,{\mathrm e}^{b c x \ln \left (F \right )} \left (\tan ^{2}\left (\frac {d}{2}+\frac {e x}{2}\right )\right )}{e^{2}+b^{2} c^{2} \ln \left (F \right )^{2}}-\frac {8 b c \ln \left (F \right ) {\mathrm e}^{b c x \ln \left (F \right )} \tan \left (\frac {d}{2}+\frac {e x}{2}\right )}{e^{2}+b^{2} c^{2} \ln \left (F \right )^{2}}}{1+\tan ^{2}\left (\frac {d}{2}+\frac {e x}{2}\right )}+\frac {-\frac {3 e \,{\mathrm e}^{b c x \ln \left (F \right )}}{9 e^{2}+b^{2} c^{2} \ln \left (F \right )^{2}}+\frac {3 e \,{\mathrm e}^{b c x \ln \left (F \right )} \left (\tan ^{2}\left (\frac {3 e x}{2}+\frac {3 d}{2}\right )\right )}{9 e^{2}+b^{2} c^{2} \ln \left (F \right )^{2}}+\frac {2 b c \ln \left (F \right ) {\mathrm e}^{b c x \ln \left (F \right )} \tan \left (\frac {3 e x}{2}+\frac {3 d}{2}\right )}{9 e^{2}+b^{2} c^{2} \ln \left (F \right )^{2}}}{1+\tan ^{2}\left (\frac {3 e x}{2}+\frac {3 d}{2}\right )}+\frac {\frac {e \,{\mathrm e}^{b c x \ln \left (F \right )} \left (\tan ^{2}\left (\frac {d}{2}+\frac {e x}{2}\right )\right )}{e^{2}+b^{2} c^{2} \ln \left (F \right )^{2}}-\frac {e \,{\mathrm e}^{b c x \ln \left (F \right )}}{e^{2}+b^{2} c^{2} \ln \left (F \right )^{2}}+\frac {2 b c \ln \left (F \right ) {\mathrm e}^{b c x \ln \left (F \right )} \tan \left (\frac {d}{2}+\frac {e x}{2}\right )}{e^{2}+b^{2} c^{2} \ln \left (F \right )^{2}}}{1+\tan ^{2}\left (\frac {d}{2}+\frac {e x}{2}\right )}\right )}{4}\) | \(377\) |
norman | \(\frac {-\frac {6 e^{3} {\mathrm e}^{c \left (b x +a \right ) \ln \left (F \right )}}{9 e^{4}+10 b^{2} c^{2} e^{2} \ln \left (F \right )^{2}+b^{4} c^{4} \ln \left (F \right )^{4}}+\frac {6 e^{3} {\mathrm e}^{c \left (b x +a \right ) \ln \left (F \right )} \left (\tan ^{6}\left (\frac {d}{2}+\frac {e x}{2}\right )\right )}{9 e^{4}+10 b^{2} c^{2} e^{2} \ln \left (F \right )^{2}+b^{4} c^{4} \ln \left (F \right )^{4}}-\frac {6 e \left (2 b^{2} c^{2} \ln \left (F \right )^{2}+3 e^{2}\right ) {\mathrm e}^{c \left (b x +a \right ) \ln \left (F \right )} \left (\tan ^{2}\left (\frac {d}{2}+\frac {e x}{2}\right )\right )}{9 e^{4}+10 b^{2} c^{2} e^{2} \ln \left (F \right )^{2}+b^{4} c^{4} \ln \left (F \right )^{4}}+\frac {6 e \left (2 b^{2} c^{2} \ln \left (F \right )^{2}+3 e^{2}\right ) {\mathrm e}^{c \left (b x +a \right ) \ln \left (F \right )} \left (\tan ^{4}\left (\frac {d}{2}+\frac {e x}{2}\right )\right )}{9 e^{4}+10 b^{2} c^{2} e^{2} \ln \left (F \right )^{2}+b^{4} c^{4} \ln \left (F \right )^{4}}+\frac {12 e^{2} b c \ln \left (F \right ) {\mathrm e}^{c \left (b x +a \right ) \ln \left (F \right )} \tan \left (\frac {d}{2}+\frac {e x}{2}\right )}{9 e^{4}+10 b^{2} c^{2} e^{2} \ln \left (F \right )^{2}+b^{4} c^{4} \ln \left (F \right )^{4}}+\frac {12 e^{2} b c \ln \left (F \right ) {\mathrm e}^{c \left (b x +a \right ) \ln \left (F \right )} \left (\tan ^{5}\left (\frac {d}{2}+\frac {e x}{2}\right )\right )}{9 e^{4}+10 b^{2} c^{2} e^{2} \ln \left (F \right )^{2}+b^{4} c^{4} \ln \left (F \right )^{4}}+\frac {8 \ln \left (F \right ) b c \left (4 e^{2}+b^{2} c^{2} \ln \left (F \right )^{2}\right ) {\mathrm e}^{c \left (b x +a \right ) \ln \left (F \right )} \left (\tan ^{3}\left (\frac {d}{2}+\frac {e x}{2}\right )\right )}{9 e^{4}+10 b^{2} c^{2} e^{2} \ln \left (F \right )^{2}+b^{4} c^{4} \ln \left (F \right )^{4}}}{\left (1+\tan ^{2}\left (\frac {d}{2}+\frac {e x}{2}\right )\right )^{3}}\) | \(483\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 761 vs.
\(2 (197) = 394\).
time = 0.34, size = 761, normalized size = 3.82 \begin {gather*} \frac {{\left (3 \, {\left (F^{a c} b^{2} c^{2} e \log \left (F\right )^{2} + F^{a c} e^{3}\right )} \cos \left (3 \, d\right ) - {\left (F^{a c} b^{3} c^{3} \log \left (F\right )^{3} + F^{a c} b c e^{2} \log \left (F\right )\right )} \sin \left (3 \, d\right )\right )} F^{b c x} \cos \left (3 \, x e\right ) + {\left (3 \, {\left (F^{a c} b^{2} c^{2} e \log \left (F\right )^{2} + F^{a c} e^{3}\right )} \cos \left (3 \, d\right ) + {\left (F^{a c} b^{3} c^{3} \log \left (F\right )^{3} + F^{a c} b c e^{2} \log \left (F\right )\right )} \sin \left (3 \, d\right )\right )} F^{b c x} \cos \left (3 \, x e + 6 \, d\right ) - 3 \, {\left ({\left (F^{a c} b^{2} c^{2} e \log \left (F\right )^{2} + 9 \, F^{a c} e^{3}\right )} \cos \left (3 \, d\right ) + {\left (F^{a c} b^{3} c^{3} \log \left (F\right )^{3} + 9 \, F^{a c} b c e^{2} \log \left (F\right )\right )} \sin \left (3 \, d\right )\right )} F^{b c x} \cos \left (x e + 4 \, d\right ) - 3 \, {\left ({\left (F^{a c} b^{2} c^{2} e \log \left (F\right )^{2} + 9 \, F^{a c} e^{3}\right )} \cos \left (3 \, d\right ) - {\left (F^{a c} b^{3} c^{3} \log \left (F\right )^{3} + 9 \, F^{a c} b c e^{2} \log \left (F\right )\right )} \sin \left (3 \, d\right )\right )} F^{b c x} \cos \left (x e - 2 \, d\right ) - {\left ({\left (F^{a c} b^{3} c^{3} \log \left (F\right )^{3} + F^{a c} b c e^{2} \log \left (F\right )\right )} \cos \left (3 \, d\right ) + 3 \, {\left (F^{a c} b^{2} c^{2} e \log \left (F\right )^{2} + F^{a c} e^{3}\right )} \sin \left (3 \, d\right )\right )} F^{b c x} \sin \left (3 \, x e\right ) - {\left ({\left (F^{a c} b^{3} c^{3} \log \left (F\right )^{3} + F^{a c} b c e^{2} \log \left (F\right )\right )} \cos \left (3 \, d\right ) - 3 \, {\left (F^{a c} b^{2} c^{2} e \log \left (F\right )^{2} + F^{a c} e^{3}\right )} \sin \left (3 \, d\right )\right )} F^{b c x} \sin \left (3 \, x e + 6 \, d\right ) + 3 \, {\left ({\left (F^{a c} b^{3} c^{3} \log \left (F\right )^{3} + 9 \, F^{a c} b c e^{2} \log \left (F\right )\right )} \cos \left (3 \, d\right ) - {\left (F^{a c} b^{2} c^{2} e \log \left (F\right )^{2} + 9 \, F^{a c} e^{3}\right )} \sin \left (3 \, d\right )\right )} F^{b c x} \sin \left (x e + 4 \, d\right ) + 3 \, {\left ({\left (F^{a c} b^{3} c^{3} \log \left (F\right )^{3} + 9 \, F^{a c} b c e^{2} \log \left (F\right )\right )} \cos \left (3 \, d\right ) + {\left (F^{a c} b^{2} c^{2} e \log \left (F\right )^{2} + 9 \, F^{a c} e^{3}\right )} \sin \left (3 \, d\right )\right )} F^{b c x} \sin \left (x e - 2 \, d\right )}{8 \, {\left ({\left (b^{4} c^{4} \log \left (F\right )^{4} + 10 \, b^{2} c^{2} e^{2} \log \left (F\right )^{2} + 9 \, e^{4}\right )} \cos \left (3 \, d\right )^{2} + {\left (b^{4} c^{4} \log \left (F\right )^{4} + 10 \, b^{2} c^{2} e^{2} \log \left (F\right )^{2} + 9 \, e^{4}\right )} \sin \left (3 \, d\right )^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.98, size = 174, normalized size = 0.87 \begin {gather*} \frac {{\left (3 \, \cos \left (x e + d\right )^{3} e^{3} + 3 \, {\left (b^{2} c^{2} \cos \left (x e + d\right )^{3} e - b^{2} c^{2} \cos \left (x e + d\right ) e\right )} \log \left (F\right )^{2} - 9 \, \cos \left (x e + d\right ) e^{3} - {\left ({\left (b^{3} c^{3} \cos \left (x e + d\right )^{2} - b^{3} c^{3}\right )} \log \left (F\right )^{3} + {\left (b c \cos \left (x e + d\right )^{2} e^{2} - 7 \, b c e^{2}\right )} \log \left (F\right )\right )} \sin \left (x e + d\right )\right )} F^{b c x + a c}}{b^{4} c^{4} \log \left (F\right )^{4} + 10 \, b^{2} c^{2} e^{2} \log \left (F\right )^{2} + 9 \, e^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [C] Result contains complex when optimal does not.
time = 0.46, size = 1275, normalized size = 6.41 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.22, size = 190, normalized size = 0.95 \begin {gather*} -\frac {3\,F^{c\,\left (a+b\,x\right )}\,\left (\cos \left (e\,x\right )-\sin \left (e\,x\right )\,1{}\mathrm {i}\right )\,\left (\cos \left (d\right )-\sin \left (d\right )\,1{}\mathrm {i}\right )}{8\,\left (e+b\,c\,\ln \left (F\right )\,1{}\mathrm {i}\right )}+\frac {F^{c\,\left (a+b\,x\right )}\,\left (\cos \left (3\,e\,x\right )+\sin \left (3\,e\,x\right )\,1{}\mathrm {i}\right )\,\left (\cos \left (3\,d\right )+\sin \left (3\,d\right )\,1{}\mathrm {i}\right )\,1{}\mathrm {i}}{8\,\left (b\,c\,\ln \left (F\right )+e\,3{}\mathrm {i}\right )}+\frac {F^{c\,\left (a+b\,x\right )}\,\left (\cos \left (3\,e\,x\right )-\sin \left (3\,e\,x\right )\,1{}\mathrm {i}\right )\,\left (\cos \left (3\,d\right )-\sin \left (3\,d\right )\,1{}\mathrm {i}\right )}{8\,\left (3\,e+b\,c\,\ln \left (F\right )\,1{}\mathrm {i}\right )}-\frac {F^{c\,\left (a+b\,x\right )}\,\left (\cos \left (e\,x\right )+\sin \left (e\,x\right )\,1{}\mathrm {i}\right )\,\left (\cos \left (d\right )+\sin \left (d\right )\,1{}\mathrm {i}\right )\,3{}\mathrm {i}}{8\,\left (b\,c\,\ln \left (F\right )+e\,1{}\mathrm {i}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________